rockchip/rk3399: improve pmu powermode configure when suspend
authorLin Huang <[email protected]>
Fri, 20 Apr 2018 07:40:15 +0000 (15:40 +0800)
committerLin Huang <[email protected]>
Tue, 15 May 2018 08:31:00 +0000 (16:31 +0800)
commit133598cb7d2ae5fabb020123423a22ff68915d8f
tree9fa89433923d54ded459fe4164bcea9fba1172d3
parentda9d1d59d4fd722059f935aa9dec347be7f17d0d
rockchip/rk3399: improve pmu powermode configure when suspend

we need to enable PMU_WKUP_RST_EN for pmu powermode configure, since
enable wakeup reset will hold the soc status, so the SOC will not affect
by some power or other single glitch when resume, and keep the soc in the
right status. And it not need to enable DDRIO_RET_HW_DE_REQ, the ddr resume
will do it manual.

Change-Id: Ib4af897ffb3cb63dc2aa9a6002e5d9ef86ee4a49
Signed-off-by: Lin Huang <[email protected]>
plat/rockchip/rk3399/drivers/pmu/pmu.c